package com.yalu.entity.data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yalu.entity.base.BaseEntity;

@Entity
@Table(name = "products")
public class Products extends BaseEntity{

	private static final long serialVersionUID = 6082347914048434256L;
	private ProductsKey productsKey;// 
	private String code;
	private String attribute;
	private String providenote;
	private int isdeleted;
	private String createdt;
	private int createby;
	private String updatedt;
	private Integer updateby;
	public Products() {
	}
	@Id
	public ProductsKey getProductsKey() {
		return productsKey;
	}
	public void setProductsKey(ProductsKey productsKey) {
		this.productsKey = productsKey;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getAttribute() {
		return attribute;
	}
	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}
	public String getProvidenote() {
		return providenote;
	}
	public void setProvidenote(String providenote) {
		this.providenote = providenote;
	}
	public int getIsdeleted() {
		return isdeleted;
	}
	public void setIsdeleted(int isdeleted) {
		this.isdeleted = isdeleted;
	}
	public String getCreatedt() {
		return createdt;
	}
	public void setCreatedt(String createdt) {
		this.createdt = createdt;
	}
	public int getCreateby() {
		return createby;
	}
	public void setCreateby(int createby) {
		this.createby = createby;
	}
	public String getUpdatedt() {
		return updatedt;
	}
	public void setUpdatedt(String updatedt) {
		this.updatedt = updatedt;
	}
	public Integer getUpdateby() {
		return updateby;
	}
	public void setUpdateby(Integer updateby) {
		this.updateby = updateby;
	}
}
